77. Araxis Merge File Comparison Report

Produced by Araxis Merge on Fri Dec 13 16:40:55 2019 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

77.1 Files compared

# Location File Last Modified
1 Fri Dec 13 16:40:55 2019 UTC
2 Porto v.3.2.2\Theme Files\Magento 1.x\Porto Theme\js\smartwave\jquery\plugins jquery.floatelement.js Wed Nov 20 12:40:37 2019 UTC

77.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 78
Removed 0 0

77.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

77.4 Active regular expressions

No regular expressions were active.

77.5 Comparison detail

        1   (function  (factory)  {
        2       'use s trict';
        3  
        4       if (ty peof defin e === 'fun ction' &&  define.amd ) {
        5           de fine([
        6                'jquery'
        7           ],  factory);
        8       } else  {
        9           fa ctory(wind ow.jQuery) ;
        10       }
        11   }(function  ($) {
        12       'use s trict';
        13  
        14       var $w indow = $( window);
        15  
        16       $.fn.t hemePlugin FloatEleme nt = funct ion(option s) {
        17           va r settings  = {
        18                startPos : "top",
        19                speed: 3 ,
        20                horizont al: false,
        21                transiti on: false
        22           };
        23           va r $el, $op tions;
        24  
        25           fu nction ini tialize(t,  options)  {
        26                return t .data("__f loatElemen t") ? this  : ($el =  t,
        27                setData( ),
        28                setOptio ns(options ),
        29                build(),
        30                this)
        31           }
        32  
        33           fu nction set Data() {
        34                return $ el.data("_ _floatElem ent")
        35           }
        36  
        37           fu nction set Options(op tions) {
        38                return $ options =  $.extend(! 0, {}, set tings, opt ions, {
        39                    wrap per: $el
        40                })
        41           }
        42  
        43           fu nction bui ld() {
        44                var t, o  = $option s.wrapper,  s = $(win dow);
        45                return $ options.st yle && o.a ttr("style ", $option s.style),
        46                s.width( ) > 767 &&  ("none" = = $options .startPos  ? t = "" :  "top" ==  $options.s tartPos ?  (o.css({
        47                    top:  0
        48                }),
        49                t = "")  : (o.css({
        50                    bott om: 0
        51                }),
        52                t = "-") ,
        53                $options .transitio n && o.css ({
        54                    tran sition: "e ase transf orm 500ms"
        55                }),
        56                movement (t),
        57                s.on("sc roll", fun ction() {
        58                    move ment(t)
        59                }))
        60           }
        61  
        62           fu nction mov ement(t) {
        63                var i =  $($options .wrapper)
        64                  , o =  $(window)
        65                  , s =  o.scrollTo p()
        66                  , n =  100 * (i.o ffset().to p - s) / o .height();
        67                $options .horizonta l ? i.css( {
        68                    tran sform: "tr anslate3d( " + t + n  / $options .speed + " %, " + t +  n / $opti ons.speed  + "%, 0)"
        69                }) : i.c ss({
        70                    tran sform: "tr anslate3d( 0, " + t +  n / $opti ons.speed  + "%, 0)"
        71                })
        72           }
        73  
        74           in itialize(t his, optio ns);
        75  
        76           re turn this;
        77       }
        78   }));